This page last changed on Mar 09, 2010 by kgomes.

In order for McLane to get access to the source code for the ESP, it was deemed that a CVS server in the DMZ with the source code rsync'd out was probably the best option. The machine prey.mbari.org was deemed as the best fit. In order to configure prey for this work, the following steps were taken:

  1. Logged in a root
  2. ran up2date cvs to install the cvs and received the following:
    [root@prey home]# up2date cvs
    
    Fetching Obsoletes list for channel: rhel-ia64-es-4...
    
    Fetching rpm headers...
    ########################################
    
    Name                                    Version              Rel               Arch
    ----------------------------------------------------------------------------------------
    cvs                                     1.11.17             11.el4              ia64  
    
    
    Testing package set / solving RPM inter-dependencies...
    ########################################
    cvs-1.11.17-11.el4.ia64.rpm ########################## Done.                   
    Preparing              ########################################### [100%]
    
    Installing...
       1:cvs                    ########################################### [100%]
    [root@prey home]# 
    
  3. Created the home directory for cvs
    [root@prey home]# mkdir /home/cvs
    
  4. I initialized the cvs home directory using
    [root@prey cvs]# cvs -d /home/cvs init
    

    This created the CVSROOT directory and populated it with the necessary files.

  5. I then created the two cvs related groups using
    [root@prey cvs]# groupadd cvsusers
    [root@prey cvs]# groupadd cvsadmin
    
  6. Created a cvs user (and group) using:
    [root@prey cvs]# groupadd cvs
    [root@prey cvs]# useradd cvs -g cvs
    
  7. Added the CVSROOT environment variable by adding the following to /etc/profile
    # Export the CVSROOT directory
    CVSROOT=/home/cvs
    
    export CVSROOT
    
  8. I set the cvs executable permissions so that it can be run as a service
    [root@prey bin]# chmod 2755 /usr/bin/cvs
    
  9. Finally, I created the file /etc/xinetd.d/cvs and put the following in that file:
     service cvspserver
     {
             disable            = no
             socket_type    = stream
             wait                = no
             user                = cvs
             group              = cvs
             log_type          = FILE /var/log/cvspserver
             protocol          = tcp
             env                 = '$HOME=/home/cvs'
             bind                = 134.89.2.27
             log_on_failure  += USERID
             port                = 2401
             server             = /usr/bin/cvs
             server_args     = -f --allow-root=/home/cvs pserver
     }
    
  10. I then rebooted prey
Document generated by Confluence on Feb 03, 2026 14:16